package com.website.system.service;

import com.baomidou.mybatisplus.service.IService;
import com.website.system.model.Pharmacy;

import java.util.List;

public interface PharmacyService extends IService<Pharmacy> {
    /**
     * 根据Id查询
     * @param pid
     * @return
     */
    Pharmacy findById(Integer pid);

    /**
     * 修改
     * @param pharmacy
     * @return
     */
    Integer editById(Pharmacy pharmacy);
    List<Pharmacy> importPharmacy();

    /**
     *  删除判断
    * @param pid
     * @return
     */
    int IfDrugType(Integer pid);
    Integer deltype(Integer pid);
}
